Hệ thống quản lý phương tiện trong PHP

1 <?php
2    
3    $id= $_GET[
'id'];
4
5    $conn=mysqli_connect(
'localhost','root','','vehicle management');
6    $sql=
"DELETE FROM bill WHERE bill_id='$id'";
7    $result=mysqli_query($conn,$sql);
8    
if(mysqli_query($conn,$sql)){
9        header(
"Location: indexbill.php");
10    }
else{
11          echo
"Not deleted";
12    }
13    
14 ?>


Gõ tìm kiếm nhanh...